Skip to content

date: fix military timezones offset#9801

Closed
alexandrefresnais wants to merge 1 commit intouutils:mainfrom
alexandrefresnais:fix/military_timezones
Closed

date: fix military timezones offset#9801
alexandrefresnais wants to merge 1 commit intouutils:mainfrom
alexandrefresnais:fix/military_timezones

Conversation

@alexandrefresnais
Copy link
Copy Markdown
Contributor

Fixes #9798

Military timezone offset was incorrect, not offsetting from midnight now from zone's description (see https://en.wikipedia.org/wiki/Military_time_zone#Description).

Futhermore, rem_euclid(24) was too limiting, preventing offset of more than 24 hours with y23 for example.

@sylvestre
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/tty/tty-eof. tests/tty/tty-eof is passing on 'main'. Maybe you have to rebase?

@alexandrefresnais
Copy link
Copy Markdown
Contributor Author

Sorry didn't check for other PRs working on the matter. Will close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relative Date Pattern 'm9'

2 participants